var base = require('./Base');

var UserSchema = new base.Schema({
	password:String,
	userName:String,
	lastLoginTime:Date,
	createTime:{type:Date,default:Date.now},
	isLogin:Boolean,
	friendList:Array
})

var UserEntity = base.mongoose.model('users',UserSchema);

exports.UserEntity = UserEntity;